package com.netease.pris.a;

import android.content.res.XmlResourceParser;
import java.io.InputStream;
import java.io.InputStreamReader;
import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserFactory;

public class s
{
  public static final String a = "MimeTypes";
  public static final String b = "type";
  public static final String c = "extension";
  public static final String d = "mimetype";
  private XmlPullParser e;
  private l f;

  private void b()
  {
    String str1 = this.e.getAttributeValue(null, "extension");
    String str2 = this.e.getAttributeValue(null, "mimetype");
    this.f.a(str1, str2);
  }

  public l a()
  {
    this.f = new l();
    int i = this.e.getEventType();
    if (i != 1)
    {
      String str = this.e.getName();
      if (i == 2)
        if (!str.equals("MimeTypes"));
      while (true)
      {
        i = this.e.next();
        break;
        if (!str.equals("type"))
          continue;
        b();
        continue;
        if ((i != 3) || (!str.equals("MimeTypes")))
          continue;
      }
    }
    return this.f;
  }

  public l a(XmlResourceParser paramXmlResourceParser)
  {
    this.e = paramXmlResourceParser;
    return a();
  }

  public l a(InputStream paramInputStream)
  {
    this.e = XmlPullParserFactory.newInstance().newPullParser();
    this.e.setInput(new InputStreamReader(paramInputStream));
    return a();
  }
}

/* Location:           D:\android\hack\dex2jar-0.0.9.8\classes_dex2jar.jar
 * Qualified Name:     com.netease.pris.a.s
 * JD-Core Version:    0.6.0
 */